<?php
namespace Common\Model;
use Common\Model\CommonModel;
class DocModel extends CommonModel
{
	
      protected $_auto = array(
        array('pinyin', 'get_yishenping', self::MODEL_BOTH, 'function'),
        array('pinyin_sort', 'get_yishenping_sort', self::MODEL_BOTH, 'function'),
        array('content', 'htmlspecialchars_decode', self::MODEL_BOTH, 'function'), 
        array('create_time', NOW_TIME, self::MODEL_BOTH),
        array('status', '1', self::MODEL_INSERT)
    );
	
}




